﻿@model Helper.Core.Entity.Sector

@{
    ViewBag.Title = "Editar";
    Layout = null;
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div style="margin: 10px 10px 10px 10px">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

        <div class="editor-label">
            Nome
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        @Html.HiddenFor(model => model.Id)

        <input type="submit" value="Salvar" />
}
</div>